package com.smart_campus.campus.mapper;

import com.smart_campus.campus.domain.CampusJournalism;
import com.smart_campus.campus.vo.CampusJournalismVo;
import com.smart_campus.sys.common.DataGridView;

import java.util.List;
import java.util.Map;

/**
 * @author Alfred
 * @time: 2020/6/28 19:26
 * 
 */
public interface CampusJournalismMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CampusJournalism record);

    int insertSelective(CampusJournalism record);

    CampusJournalism selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CampusJournalism record);

    int updateByPrimaryKey(CampusJournalism record);

    List<Map> queryJournalism(CampusJournalismVo campusJournalismVo);

    Integer queryMax();

    Integer queryMaxId();
}